﻿package phpas3{
	public function strpos( haystack:String, needle:*, offset:int=0 ):* {
		var result:int = haystack.indexOf( needle, offset );
		if( result === -1 ){
			return false;
		} else {
			return result;
		}
	}
}